package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class WrapTest {
    public static void main(String[] args) {
        //基本类型->包装类  装箱
        //包装类->基本类型  拆箱
        Integer j = new Integer("44");
        int i = j;
        Integer k = 155;
        System.out.println(j);
        System.out.println(k);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        byte b = k.byteValue();
        System.out.println(b);
        Double d = 446.6;
        int i2 = d.intValue();
        System.out.println(i2);
    }
}
